package cn.afterturn.easypdf.enums;

/**
 * Pdf 标题行
 *
 * @author JueYue
 * @version 5.0
 * 2024-8-31
 */
public enum PdfTitle {

    TITLE_1("h1", 1, 24),

    TITLE_2("h2", 2, 20),

    TITLE_3("h3", 3, 16),

    TITLE_4("h4", 4, 12),

    TITLE_5("h5", 5, 10),

    TITLE_6("h6", 6, 8);

    private String title;
    private int level;
    private int fontSize;

    PdfTitle(String title, int level, int fontSize) {
        this.title = title;
        this.level = level;
        this.fontSize = fontSize;
    }

    public String getTitle() {
        return title;
    }

    public int getLevel() {
        return level;
    }

    public int getFontSize() {
        return fontSize;
    }
}
